import os


file_path = ""
file_name_filter = ""


def f(name):
    return "追风者" + name[6:8:] + ".mp4"


for items in os.listdir(file_path):
    if file_name_filter in items:
        os.rename(f"{file_path}\{items}", f"{file_path}\{f(items)}")
